package com.zjny.enums;

import lombok.Getter;

/**
 * doc & docx的模数枚举
 *
 * @author cui haida
 * @version JDK 8
 * 2025/6/18
 */
@Getter
public enum FileTypeHexEnum {
    DOC("doc", "D0CF11E0"),
    DOCX("docx", "504B0304");

    private final String fileTypeName;
    private final String magicNumberCode;

    FileTypeHexEnum(String fileTypeName, String magicNumberCode) {
        this.fileTypeName = fileTypeName;
        this.magicNumberCode = magicNumberCode;
    }

}